home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DO1002.ARJ / SET.SCR < prev    next >
Text File  |  1991-12-10  |  730b  |  23 lines

  1. .pg wi full clr
  2.     »cy«COMMAND NAME»gray«: »%t« AssignVar »ye«
  3.  
  4.     /SET {variable} {value}
  5. /cw
  6.     The »%t«AssignVar»#« command sets the text variable indicated by
  7.     »cy«{variable}»#« to »cy«{value}»#«. Any variables found in »cy«{value}»#« are
  8.     expanded. If »cy«{value}»#« contains the parse paremeter(s),
  9.     it must be enclosed in double quote marks (»cy«""»#«).
  10. .pg clr
  11.     In the following example, press »bo«<enter>»#« to execute the
  12.     displayed lines.
  13.  
  14.     We'll use the »%t«/SET»#« command to place information in text
  15.     variable Var1. First, here's the command:
  16.  
  17. |/SET Var1 "This is in variable 1."
  18.  
  19.     Next we'll display it using this line:
  20.  
  21. |    Variable 1 contains: "%Var1"
  22. /ENDEXEC
  23.